package com.aboo.fusion;

import java.util.ArrayList;
import java.util.List;

import com.aboo.fusion.component.Categories;
import com.aboo.fusion.component.Chart;
import com.aboo.fusion.component.Dataset;
import com.aboo.fusion.component.Styles;
import com.aboo.fusion.component.TrendLines;

/**
 * @author Yata Aboo
 * @Date 2012-11-19
 * @Desc MSColumn3D图
 */
public class MSColumn3D {
	
	private Chart chart;
	private List<Categories> categories;
	private List<Dataset> dataSet;
	private TrendLines trendlines;
	private Styles styles;
	
	/**
	 * 新增Categories属性
	 * @param c
	 */
	public void addCategories(Categories c) {
		if (categories == null) {
			categories = new ArrayList<Categories>();
		}
		categories.add(c);
	}
	
	/**
	 * 新增Dataset属性
	 * @param d
	 */
	public void addDataSet(Dataset d) {
		if (dataSet == null) {
			dataSet = new ArrayList<Dataset>();
		}
		dataSet.add(d);
	}
	
	public List<Dataset> getDataSet() {
		return dataSet;
	}
	public void setDataSet(List<Dataset> dataSet) {
		this.dataSet = dataSet;
	}
	public Chart getChart() {
		return chart;
	}
	public void setChart(Chart chart) {
		this.chart = chart;
	}
	public List<Categories> getCategories() {
		return categories;
	}
	public void setCategories(List<Categories> categories) {
		this.categories = categories;
	}
	public TrendLines getTrendlines() {
		return trendlines;
	}
	public void setTrendlines(TrendLines trendlines) {
		this.trendlines = trendlines;
	}
	public Styles getStyles() {
		return styles;
	}
	public void setStyles(Styles styles) {
		this.styles = styles;
	}	
	
}
